window.onload = function() {

	if (navigator.appName == "Microsoft Internet Explorer" && navigator.appVersion.split(";")[1].replace(/[ ]/g, "") == "MSIE6.0") {
		var lBottom = document.getElementById("lBottom");
		lBottom.style.position = "relative";
		lBottom.style.height = "100%";
		lBottom.style.top = "0px";
		lBottom.style.paddingTop = "24px";
	}

	clearUrlParams();
	var url = 'getList';
	$.post(url, getUrlParams(), function(data) {
		$(document).ready(function() {
			var t = $("#tree");
			t = $.fn.zTree.init(t, setting, data.menuList);
		});
	});

};

var setting = {
	data : {
		simpleData : {
			enable : true
		}
	}
}; 